package com.seckill.act.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seckill.goods.pojo.Sku;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 * @author 作者
 * @since 2022-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_sku_act")
////@ApiModel(value="SkuAct", description="")
public class SkuAct implements Serializable {


    @TableId("sku_id")
    private String skuId;

    @TableField("activity_id")
    private String activityId;

    ////@ApiModelProperty(value = "删除状态：1未删除，2已删除")
    @TableField("is_del")
    private Integer isDel;

    @TableField("create_time")
    private Date createTime;

    //Sku集合
    @TableField(exist = false)
    private List<Sku> skus;

}
